<template>
	<view class="transferRecords u-skeleton">
		<u-navbar title="关于我们" :background="{'backgroundColor':'#fff'}" :borderBottom="false" class="u-skeleton-rect"></u-navbar>
		<view class="box">
			<u-parse :html="content"></u-parse>
		</view>
		<u-skeleton :loading="loding" :animation="true" bgColor="#FFF"></u-skeleton>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				// 首次进入加载
				loding: true,
				content:null
			}
		},
		onShow() {
			this.getinfo();
		},
		methods: {
			//获取数据
			getinfo(){
				this.$http.asyncSendrequest({
					url:'/common/contDetail',
					data:{
						type:1
					},
					success:res=>{
						this.content = res.data.cont;
						this.loding = false;
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		margin: 30rpx;
		height: calc(100vh - 160rpx);
		background: #fff;
		border-radius: 10rpx;
		padding: 30rpx;
	}
</style>